from rest_framework import serializers
from .models import McGender

class McGenderSerializer(serializers.ModelSerializer):
    class Meta:
        model = McGender
        fields = ['id', 'name']